package com.twu.biblioteca.Models;

/**
 * Created with IntelliJ IDEA.
 * User: Nimrod
 * Date: 1/25/13
 * Time: 11:48 PM
 * Represents a library User.
 */
public class User {

    private String firstName;
    private String lastName;
    private String address;
    private LogInDetails logInDetails;

    public User (String firstName, String lastName, String address, LogInDetails logInDetails) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.address = address;
        this.logInDetails = logInDetails;
    }

    public String getMembershipDetails() {
        return firstName + " " + lastName + ", " + address;
    }

    public LogInDetails getLogInDetails() {
        return logInDetails;
    }
}
